<template>
  <div>
    <slot name="header"></slot>

    <slot name="main"></slot>

    <slot>没错，又是默认内容</slot>

    <slot name="footer"></slot>
  </div>
</template>

<script setup>
defineOptions({
    name: 'child2'
})

</script>

<style  lang="scss" scoped>
</style>